---
title: "List"
"og:title": "dub.domains.list - Retrieve a list of domains - TypeScript SDK"
description: "Retrieve a list of domains associated with the authenticated workspace."
---

import DomainResponse from "/snippets/domain-response.mdx";

## Arguments

No arguments.

## Response

<DomainResponse />

<RequestExample>

```ts
await dub.domains.list({});
```

</RequestExample>

<ResponseExample>

```ts
[
  {
    id: "clvcep2sn87jh8nf808x00005",
    slug: "acme.com",
    verified: false,
    primary: true,
    archived: false,
    placeholder: "https://dub.co/help/article/what-is-dub",
    expiredUrl: "https://acme.com/expired",
    target: "https://acme.com/home",
    type: "redirect",
    clicks: 0,
  },
];
```

</ResponseExample>
